home *** CD-ROM | disk | FTP | other *** search
/ MacHome 2000 March / MacHome CD (March 2000).iso / pc / Games / ACE! 1.7.2.sit / ACE! 1.7.2 / Development / Tutorial / Tutorial < prev   
MacBinary  |  1999-12-26  |  11.9 KB  |  [ttro/ttxt]

open in: MacOS 8.1     |     Win98     |     DOS

browse contents    |     view JSON data     |     view as text


This file was processed as: MacBinary (archive/macBinary).

ConfidenceProgramDetectionMatch TypeSupport
10% dexvert MacBinary (archive/macBinary) fallback Supported
1% dexvert Text File (text/txt) fallback Supported
100% file MacBinary II, inited, Sun Dec 26 11:14:01 1999, modified Sun Dec 26 11:14:01 1999, creator SimpleText, type SimpleText read-only, 10892 bytes "Tutorial" , at 0x2b0c 912 bytes resource default (weak)
99% file data default
74% TrID Mac SimpleText read-only (MacBinary) default
25% TrID MacBinary 2 default (weak)
100% siegfried fmt/1762 MacBinary (II) default
100% lsar MacBinary default


id metadata
keyvalue
macFileType[ttro]
macFileCreator[ttxt]



hex view
+--------+-------------------------+-------------------------+--------+--------+
|00000000| 00 08 54 75 74 6f 72 69 | 61 6c 00 00 00 00 00 00 |..Tutori|al......|
|00000010| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000020| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000030| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000040| 00 74 74 72 6f 74 74 78 | 74 01 00 00 00 00 00 00 |.ttrottx|t.......|
|00000050| 00 00 00 00 00 2a 8c 00 | 00 03 90 b4 8b ef 49 b4 |.....*..|......I.|
|00000060| 8b ef 49 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |..I.....|........|
|00000070| 00 00 00 00 00 00 00 00 | 00 00 81 81 d3 8d 00 00 |........|........|
|00000080| 49 6e 74 72 6f 64 75 63 | 74 69 6f 6e 0d 0d 54 68 |Introduc|tion..Th|
|00000090| 69 73 20 64 6f 63 75 6d | 65 6e 74 20 69 73 20 61 |is docum|ent is a|
|000000a0| 20 74 75 74 6f 72 69 61 | 6c 20 2d 20 61 20 67 75 | tutoria|l - a gu|
|000000b0| 69 64 65 20 74 6f 20 63 | 72 65 61 74 69 6e 67 20 |ide to c|reating |
|000000c0| 61 20 6d 6f 64 75 6c 65 | 20 61 6e 64 20 6d 6f 64 |a module| and mod|
|000000d0| 69 66 79 69 6e 67 20 74 | 68 65 20 6d 6f 64 75 6c |ifying t|he modul|
|000000e0| 65 20 74 6f 20 75 73 65 | 20 74 61 62 62 65 64 20 |e to use| tabbed |
|000000f0| 77 69 6e 64 6f 77 73 2e | 20 54 68 65 20 6d 6f 64 |windows.| The mod|
|00000100| 75 6c 65 20 22 44 65 61 | 74 68 20 74 6f 20 74 68 |ule "Dea|th to th|
|00000110| 65 20 49 62 62 79 20 53 | 71 75 69 62 62 6c 65 73 |e Ibby S|quibbles|
|00000120| 22 20 28 68 65 72 65 61 | 66 74 65 72 20 72 65 66 |" (herea|fter ref|
|00000130| 65 72 72 65 64 20 74 6f | 20 61 73 20 74 68 65 20 |erred to| as the |
|00000140| 74 75 74 6f 72 69 61 6c | 20 6d 6f 64 75 6c 65 29 |tutorial| module)|
|00000150| 20 69 73 20 63 6f 6d 70 | 6c 65 74 65 20 61 6e 64 | is comp|lete and|
|00000160| 20 66 75 6e 63 74 69 6f | 6e 61 6c 2e 20 59 6f 75 | functio|nal. You|
|00000170| 20 63 61 6e 20 70 6c 61 | 63 65 20 69 74 20 69 6e | can pla|ce it in|
|00000180| 20 74 68 65 20 22 4d 6f | 64 75 6c 65 73 22 20 66 | the "Mo|dules" f|
|00000190| 6f 6c 64 65 72 20 61 6e | 64 20 75 73 65 20 69 74 |older an|d use it|
|000001a0| 20 74 6f 20 6f 70 65 6e | 20 74 68 65 20 73 61 6d | to open| the sam|
|000001b0| 70 6c 65 20 73 61 76 65 | 20 67 61 6d 65 73 2e 0d |ple save| games..|
|000001c0| 0d 54 68 65 20 74 75 74 | 6f 72 69 61 6c 20 6d 6f |.The tut|orial mo|
|000001d0| 64 75 6c 65 20 61 6c 73 | 6f 20 64 65 6d 6f 6e 73 |dule als|o demons|
|000001e0| 74 72 61 74 65 73 20 74 | 77 6f 20 66 65 61 74 75 |trates t|wo featu|
|000001f0| 72 65 73 20 6e 6f 74 20 | 63 6f 6d 6d 6f 6e 6c 79 |res not |commonly|
|00000200| 20 75 73 65 64 20 69 6e | 20 74 68 65 20 6d 6f 64 | used in| the mod|
|00000210| 75 6c 65 73 20 70 72 6f | 76 69 64 65 64 20 77 69 |ules pro|vided wi|
|00000220| 74 68 20 41 43 45 20 2d | 20 61 20 74 61 62 62 65 |th ACE -| a tabbe|
|00000230| 64 20 77 69 6e 64 6f 77 | 20 69 6d 70 6c 65 6d 65 |d window| impleme|
|00000240| 6e 74 65 64 20 77 69 74 | 68 20 61 20 74 61 62 20 |nted wit|h a tab |
|00000250| 63 6f 6e 74 72 6f 6c 20 | 61 6e 64 20 72 61 64 69 |control |and radi|
|00000260| 6f 20 62 75 74 74 6f 6e | 73 2e 0d 0d 54 6f 20 66 |o button|s...To f|
|00000270| 6f 6c 6c 6f 77 20 74 68 | 65 20 74 75 74 6f 72 69 |ollow th|e tutori|
|00000280| 61 6c 2c 20 79 6f 75 20 | 77 69 6c 6c 20 6e 65 65 |al, you |will nee|
|00000290| 64 20 74 68 65 20 61 70 | 70 6c 69 63 61 74 69 6f |d the ap|plicatio|
|000002a0| 6e 73 20 22 52 65 73 45 | 64 69 74 22 2c 20 22 48 |ns "ResE|dit", "H|
|000002b0| 65 78 45 64 69 74 22 20 | 61 6e 64 20 22 52 65 73 |exEdit" |and "Res|
|000002c0| 43 6f 6d 70 61 72 65 22 | 2e 20 52 65 66 65 72 20 |Compare"|. Refer |
|000002d0| 74 6f 20 74 68 65 20 22 | 44 65 76 65 6c 6f 70 6d |to the "|Developm|
|000002e0| 65 6e 74 20 28 70 61 72 | 74 20 49 29 22 20 66 6f |ent (par|t I)" fo|
|000002f0| 72 20 69 6e 66 6f 72 6d | 61 74 69 6f 6e 20 6f 6e |r inform|ation on|
|00000300| 20 6f 62 74 61 69 6e 69 | 6e 67 20 74 68 65 73 65 | obtaini|ng these|
|00000310| 20 61 70 70 6c 69 63 61 | 74 69 6f 6e 73 2e 0d 0d | applica|tions...|
|00000320| 0d 4d 6f 64 75 6c 65 20 | 44 65 76 65 6c 6f 70 6d |.Module |Developm|
|00000330| 65 6e 74 0d 0d 22 44 65 | 61 74 68 20 74 6f 20 74 |ent.."De|ath to t|
|00000340| 68 65 20 49 62 62 79 20 | 53 71 75 69 62 62 6c 65 |he Ibby |Squibble|
|00000350| 73 22 20 69 73 20 6e 6f | 74 20 61 20 72 65 61 6c |s" is no|t a real|
|00000360| 20 67 61 6d 65 20 28 74 | 6f 20 74 68 65 20 62 65 | game (t|o the be|
|00000370| 73 74 20 6f 66 20 6d 79 | 20 6b 6e 6f 77 6c 65 64 |st of my| knowled|
|00000380| 67 65 20 61 6e 79 77 61 | 79 29 2e 20 49 74 20 69 |ge anywa|y). It i|
|00000390| 73 20 69 6d 61 67 69 6e | 65 64 20 74 6f 20 62 65 |s imagin|ed to be|
|000003a0| 20 61 20 67 61 6d 65 20 | 6f 66 20 74 68 65 20 27 | a game |of the '|
|000003b0| 73 68 6f 6f 74 2d 65 6d | 2d 75 70 27 20 67 65 6e |shoot-em|-up' gen|
|000003c0| 72 65 20 74 68 61 74 20 | 61 6c 6c 6f 77 73 20 74 |re that |allows t|
|000003d0| 68 65 20 70 6c 61 79 65 | 72 20 74 6f 20 73 61 76 |he playe|r to sav|
|000003e0| 65 20 74 68 65 69 72 20 | 70 72 6f 67 72 65 73 73 |e their |progress|
|000003f0| 20 69 6e 20 61 20 73 61 | 76 65 20 67 61 6d 65 20 | in a sa|ve game |
|00000400| 66 69 6c 65 2e 20 46 72 | 6f 6d 20 6f 62 73 65 72 |file. Fr|om obser|
|00000410| 76 69 6e 67 20 74 68 65 | 20 67 61 6d 65 2c 20 77 |ving the| game, w|
|00000420| 65 20 6e 6f 74 65 20 74 | 68 61 74 20 74 68 65 20 |e note t|hat the |
|00000430| 69 6e 66 6f 72 6d 61 74 | 69 6f 6e 20 73 61 76 65 |informat|ion save|
|00000440| 64 20 69 6e 20 74 68 65 | 20 73 61 76 65 20 67 61 |d in the| save ga|
|00000450| 6d 65 20 66 69 6c 65 20 | 6d 75 73 74 20 69 6e 63 |me file |must inc|
|00000460| 6c 75 64 65 20 74 68 65 | 20 70 6c 61 79 65 72 27 |lude the| player'|
|00000470| 73 20 63 61 6c 6c 2d 73 | 69 67 6e 20 28 6e 61 6d |s call-s|ign (nam|
|00000480| 65 29 2c 20 77 68 65 74 | 68 65 72 20 6f 72 20 6e |e), whet|her or n|
|00000490| 6f 74 20 74 68 65 20 70 | 6c 61 79 65 72 20 68 61 |ot the p|layer ha|
|000004a0| 73 20 74 68 65 20 27 48 | 79 70 65 72 62 6f 6c 69 |s the 'H|yperboli|
|000004b0| 63 20 77 69 64 67 79 20 | 77 6f 6f 27 20 70 6f 77 |c widgy |woo' pow|
|000004c0| 65 72 2d 75 70 2c 20 61 | 6e 64 20 74 68 65 69 72 |er-up, a|nd their|
|000004d0| 20 65 6d 65 72 67 65 6e | 63 79 20 73 65 74 74 69 | emergen|cy setti|
|000004e0| 6e 67 20 28 77 68 69 63 | 68 20 63 61 6e 20 62 65 |ng (whic|h can be|
|000004f0| 20 65 69 74 68 65 72 20 | 70 61 6e 69 63 20 6f 72 | either |panic or|
|00000500| 20 77 68 69 6d 70 65 72 | 29 2e 0d 0d 57 65 20 63 | whimper|)...We c|
|00000510| 72 65 61 74 65 20 61 20 | 73 61 76 65 20 67 61 6d |reate a |save gam|
|00000520| 65 20 66 69 6c 65 20 28 | 63 61 6c 6c 65 64 20 22 |e file (|called "|
|00000530| 73 61 76 65 20 67 61 6d | 65 22 29 20 77 68 65 72 |save gam|e") wher|
|00000540| 65 20 74 68 65 20 70 69 | 6c 6f 74 27 73 20 63 61 |e the pi|lot's ca|
|00000550| 6c 6c 2d 73 69 67 6e 20 | 69 73 20 22 53 70 61 63 |ll-sign |is "Spac|
|00000560| 65 20 44 75 73 74 22 2c | 20 74 68 65 20 70 69 6c |e Dust",| the pil|
|00000570| 6f 74 20 68 61 73 20 74 | 68 65 20 70 6f 77 65 72 |ot has t|he power|
|00000580| 2d 75 70 2c 20 61 6e 64 | 20 74 68 65 20 65 6d 65 |-up, and| the eme|
|00000590| 72 67 65 6e 63 79 20 73 | 65 74 74 69 6e 67 20 69 |rgency s|etting i|
|000005a0| 73 20 70 61 6e 69 63 2e | 0d 0d 55 73 69 6e 67 20 |s panic.|..Using |
|000005b0| 74 68 65 20 47 65 74 20 | 46 69 6c 65 2f 46 6f 6c |the Get |File/Fol|
|000005c0| 64 65 72 20 49 6e 66 6f | c9 20 63 6f 6d 6d 61 6e |der Info|. comman|
|000005d0| 64 20 69 6e 20 52 65 73 | 45 64 69 74 2c 20 77 65 |d in Res|Edit, we|
|000005e0| 20 6e 6f 74 65 20 74 68 | 61 74 20 74 68 65 20 73 | note th|at the s|
|000005f0| 61 76 65 20 67 61 6d 65 | 20 66 69 6c 65 20 68 61 |ave game| file ha|
|00000600| 73 20 6e 6f 20 72 65 73 | 6f 75 72 63 65 20 66 6f |s no res|ource fo|
|00000610| 72 6b 2c 20 61 6e 64 20 | 74 68 61 74 20 74 68 65 |rk, and |that the|
|00000620| 20 64 61 74 61 20 66 6f | 72 6b 20 69 73 20 6f 6e | data fo|rk is on|
|00000630| 6c 79 20 33 32 20 62 79 | 74 65 73 20 6c 6f 6e 67 |ly 32 by|tes long|
|00000640| 2e 20 57 65 20 72 65 63 | 6f 72 64 20 74 68 65 20 |. We rec|ord the |
|00000650| 66 69 6c 65 20 74 79 70 | 65 20 28 27 44 49 53 67 |file typ|e ('DISg|
|00000660| 27 29 20 61 6e 64 20 63 | 72 65 61 74 6f 72 20 28 |') and c|reator (|
|00000670| 27 44 74 49 53 27 29 20 | 66 6f 72 20 6c 61 74 65 |'DtIS') |for late|
|00000680| 72 20 72 65 66 65 72 65 | 6e 63 65 2e 0d 0d 54 6f |r refere|nce...To|
|00000690| 20 63 72 65 61 74 65 20 | 74 68 65 20 74 75 74 6f | create |the tuto|
|000006a0| 72 69 61 6c 20 6d 6f 64 | 75 6c 65 2c 20 49 20 68 |rial mod|ule, I h|
|000006b0| 61 76 65 20 75 73 65 64 | 20 74 68 65 20 22 4d 6f |ave used| the "Mo|
|000006c0| 64 75 6c 65 20 74 65 6d | 70 6c 61 74 65 22 20 66 |dule tem|plate" f|
|000006d0| 69 6c 65 2e 20 54 68 69 | 73 20 66 69 6c 65 20 77 |ile. Thi|s file w|
|000006e0| 61 73 20 64 75 70 6c 69 | 63 61 74 65 64 20 61 6e |as dupli|cated an|
|000006f0| 64 20 72 65 6e 61 6d 65 | 64 20 61 73 20 22 44 65 |d rename|d as "De|
|00000700| 61 74 68 20 74 6f 20 74 | 68 65 20 49 62 62 79 20 |ath to t|he Ibby |
|00000710| 53 71 75 69 62 62 6c 65 | 73 22 2e 20 54 68 65 20 |Squibble|s". The |
|00000720| 6d 6f 64 75 6c 65 20 77 | 61 73 20 74 68 65 6e 20 |module w|as then |
|00000730| 6f 70 65 6e 65 64 20 77 | 69 74 68 20 52 65 73 45 |opened w|ith ResE|
|00000740| 64 69 74 2c 20 61 6e 64 | 20 74 68 65 20 66 6f 6c |dit, and| the fol|
|00000750| 6c 6f 77 69 6e 67 20 63 | 68 61 6e 67 65 73 20 77 |lowing c|hanges w|
|00000760| 65 72 65 20 6d 61 64 65 | 3a 0d 0d a5 20 54 68 65 |ere made|:... The|
|00000770| 20 27 76 65 72 73 27 20 | 69 64 20 31 20 72 65 73 | 'vers' |id 1 res|
|00000780| 6f 75 72 63 65 20 77 61 | 73 20 75 70 64 61 74 65 |ource wa|s update|
|00000790| 64 2e 0d a5 20 54 68 65 | 20 27 53 54 52 23 22 20 |d... The| 'STR#" |
|000007a0| 69 64 20 31 32 38 20 72 | 65 73 6f 75 72 63 65 20 |id 128 r|esource |
|000007b0| 77 61 73 20 6d 6f 64 69 | 66 69 65 64 2e 0d a5 20 |was modi|fied... |
|000007c0| 54 68 65 20 27 41 43 45 | 6d 27 20 72 65 73 6f 75 |The 'ACE|m' resou|
|000007d0| 72 63 65 27 73 20 66 69 | 65 6c 64 73 20 77 65 72 |rce's fi|elds wer|
|000007e0| 65 20 6d 6f 64 69 66 69 | 65 64 2e 0d 0d 4e 65 78 |e modifi|ed...Nex|
|000007f0| 74 2c 20 74 68 65 20 6d | 6f 64 75 6c 65 20 64 69 |t, the m|odule di|
|00000800| 61 6c 6f 67 20 77 61 73 | 20 63 72 65 61 74 65 64 |alog was| created|
|00000810| 2e 20 54 68 65 20 27 44 | 49 54 4c 27 20 69 64 20 |. The 'D|ITL' id |
|00000820| 31 32 38 20 72 65 73 6f | 75 72 63 65 20 77 61 73 |128 reso|urce was|
|00000830| 20 6f 70 65 6e 65 64 2c | 20 61 6e 64 20 66 6f 75 | opened,| and fou|
|00000840| 72 20 63 6f 6e 74 72 6f | 6c 73 20 77 65 72 65 20 |r contro|ls were |
|00000850| 61 64 64 65 64 3a 20 41 | 20 65 64 69 74 20 74 65 |added: A| edit te|
|00000860| 78 74 20 62 6f 78 20 28 | 64 69 61 6c 6f 67 20 69 |xt box (|dialog i|
|00000870| 64 20 31 2c 20 66 6f 72 | 20 74 68 65 20 70 69 6c |d 1, for| the pil|
|00000880| 6f 74 27 73 20 63 61 6c | 6c 2d 73 69 67 6e 29 2c |ot's cal|l-sign),|
|00000890| 20 61 20 63 68 65 63 6b | 62 6f 78 20 28 69 64 20 | a check|box (id |
|000008a0| 32 2c 20 66 6f 72 20 74 | 68 65 20 70 6f 77 65 72 |2, for t|he power|
|000008b0| 2d 75 70 29 20 61 6e 64 | 20 74 77 6f 20 72 61 64 |-up) and| two rad|
|000008c0| 69 6f 2d 62 75 74 74 6f | 6e 73 20 28 69 64 20 33 |io-butto|ns (id 3|
|000008d0| 20 61 6e 64 20 34 2c 20 | 66 6f 72 20 74 68 65 20 | and 4, |for the |
|000008e0| 65 6d 65 72 67 65 6e 63 | 79 20 73 65 74 74 69 6e |emergenc|y settin|
|000008f0| 67 73 29 2e 20 54 77 6f | 20 73 74 61 74 69 63 20 |gs). Two| static |
|00000900| 74 65 78 74 20 69 74 65 | 6d 73 20 77 65 72 65 20 |text ite|ms were |
|00000910| 61 6c 73 6f 20 61 64 64 | 65 64 2e 0d 0d 42 65 63 |also add|ed...Bec|
|00000920| 61 75 73 65 20 74 68 69 | 73 20 64 69 61 6c 6f 67 |ause thi|s dialog|
|00000930| 20 69 73 20 73 75 69 74 | 61 62 6c 65 20 66 6f 72 | is suit|able for|
|00000940| 20 75 73 65 20 6f 6e 20 | 61 70 70 65 61 72 61 6e | use on |appearan|
|00000950| 63 65 20 6d 61 6e 61 67 | 65 72 20 73 79 73 74 65 |ce manag|er syste|
|00000960| 6d 73 20 28 69 74 20 63 | 6f 6e 74 61 69 6e 73 20 |ms (it c|ontains |
|00000970| 6e 6f 20 67 72 6f 75 70 | 20 62 6f 78 65 73 20 6f |no group| boxes o|
|00000980| 72 20 6c 69 73 74 73 29 | 2c 20 77 65 20 64 65 6c |r lists)|, we del|
|00000990| 65 74 65 20 74 68 65 20 | 44 49 54 4c 20 69 64 20 |ete the |DITL id |
|000009a0| 31 32 39 20 61 6e 64 20 | 74 68 65 20 44 4c 4f 47 |129 and |the DLOG|
|000009b0| 20 69 64 20 31 32 39 2c | 20 61 6e 64 20 77 65 20 | id 129,| and we |
|000009c0| 63 68 61 6e 67 65 20 74 | 68 65 20 69 64 20 6f 66 |change t|he id of|
|000009d0| 20 74 68 65 20 27 64 6c | 67 78 27 20 72 65 73 6f | the 'dl|gx' reso|
|000009e0| 75 72 63 65 20 66 72 6f | 6d 20 31 32 39 20 74 6f |urce fro|m 129 to|
|000009f0| 20 31 32 38 2e 0d 0d 57 | 65 20 6f 70 65 6e 20 74 | 128...W|e open t|
|00000a00| 68 65 20 64 61 74 61 20 | 66 6f 72 6b 20 6f 66 20 |he data |fork of |
|00000a10| 74 68 65 20 66 69 6c 65 | 20 75 73 69 6e 67 20 48 |the file| using H|
|00000a20| 65 78 45 64 69 74 3a 0d | 0d 0d 20 20 20 20 4c 65 |exEdit:.|.. Le|
|00000a30| 6e 67 74 68 3a 20 20 20 | 20 20 32 30 68 20 20 20 |ngth: | 20h |
|00000a40| 20 54 79 70 65 3a 20 44 | 49 53 67 20 20 20 43 72 | Type: D|ISg Cr|
|00000a50| 65 61 74 6f 72 3a 20 44 | 74 49 53 20 20 20 20 20 |eator: D|tIS |
|00000a60| 20 20 46 6f 72 6b 3a 20 | 64 61 74 61 0d 20 20 5f | Fork: |data. _|
|00000a70| 5f 5f 5f 5f 5f 5f 5f 5f | 5f 5f 5f 5f 5f 5f 5f 5f |________|________|
|00000a80| 5f 5f 5f 5f 5f 5f 5f 5f | 5f 5f 5f 5f 5f 5f 5f 5f |________|________|
|00000a90| 5f 5f 5f 5f 5f 5f 5f 5f | 5f 5f 5f 5f 5f 5f 5f 5f |________|________|
|00000aa0| 5f 5f 5f 5f 5f 5f 5f 5f | 5f 5f 5f 5f 5f 5f 5f 5f |________|________|
|00000ab0| 5f 5f 5f 5f 5f 5f 5f 5f | 5f 5f 0d 20 20 30 30 30 |________|__. 000|
|00000ac0| 30 30 30 3a 20 35 33 20 | 37 30 20 36 31 20 36 35 |000: 53 |70 61 65|
|00000ad0| 20 32 30 20 34 34 20 37 | 35 20 37 33 20 37 33 20 | 20 44 7|5 73 73 |
|00000ae0| 37 34 20 30 30 20 30 30 | 20 30 30 20 30 30 20 30 |74 00 00| 00 00 0|
|00000af0| 30 20 30 30 20 20 20 20 | 53 70 61 63 65 20 44 75 |0 00 |Space Du|
|00000b00| 73 74 2e 2e 2e 2e 2e 2e | 0d 20 20 30 30 30 30 31 |st......|. 00001|
|00000b10| 30 3a 20 30 33 20 38 34 | 20 30 31 20 30 30 20 30 |0: 03 84| 01 00 0|
|00000b20| 30 20 30 30 20 30 30 20 | 30 30 20 30 30 20 30 30 |0 00 00 |00 00 00|
|00000b30| 20 30 30 20 30 30 20 30 | 30 20 30 30 20 30 30 20 | 00 00 0|0 00 00 |
|00000b40| 30 30 20 20 20 20 2e 2e | 2e 2e 2e 2e 2e 2e 2e 2e |00 ..|........|
|00000b50| 2e 2e 2e 2e 2e 2e 0d 0d | 0d 4f 75 72 20 70 69 6c |........|.Our pil|
|00000b60| 6f 74 27 73 20 63 61 6c | 6c 2d 73 69 67 6e 20 69 |ot's cal|l-sign i|
|00000b70| 73 20 22 53 70 61 63 65 | 20 44 75 73 74 22 2c 20 |s "Space| Dust", |
|00000b80| 61 6e 64 20 77 65 20 63 | 61 6e 20 73 65 65 20 74 |and we c|an see t|
|00000b90| 68 61 74 20 74 68 69 73 | 20 73 74 72 69 6e 67 20 |hat this| string |
|00000ba0| 69 73 20 70 72 65 73 65 | 6e 74 20 69 6e 20 74 68 |is prese|nt in th|
|00000bb0| 65 20 64 61 74 61 20 66 | 6f 72 6b 2e 20 53 69 6e |e data f|ork. Sin|
|00000bc0| 63 65 20 74 68 65 20 76 | 65 72 79 20 66 69 72 73 |ce the v|ery firs|
|00000bd0| 74 20 62 79 74 65 20 6f | 66 20 74 68 65 20 66 69 |t byte o|f the fi|
|00000be0| 6c 65 20 63 6f 6e 74 61 | 69 6e 73 20 74 68 65 20 |le conta|ins the |
|00000bf0| 6c 65 74 74 65 72 20 27 | 53 27 2c 20 74 68 69 73 |letter '|S', this|
|00000c00| 20 73 74 72 69 6e 67 20 | 63 61 6e 6e 6f 74 20 62 | string |cannot b|
|00000c10| 65 20 61 20 50 61 73 63 | 61 6c 20 73 74 79 6c 65 |e a Pasc|al style|
|00000c20| 20 73 74 72 69 6e 67 2e | 20 54 68 65 20 70 72 65 | string.| The pre|
|00000c30| 73 65 6e 63 65 20 6f 66 | 20 61 20 7a 65 72 6f 20 |sence of| a zero |
|00000c40| 69 6d 6d 65 64 69 61 74 | 65 6c 79 20 66 6f 6c 6c |immediat|ely foll|
|00000c50| 6f 77 69 6e 67 20 74 68 | 65 20 73 74 72 69 6e 67 |owing th|e string|
|00000c60| 20 63 6f 6e 66 69 72 6d | 73 20 74 68 61 74 20 74 | confirm|s that t|
|00000c70| 68 69 73 20 73 74 72 69 | 6e 67 20 69 73 20 61 20 |his stri|ng is a |
|00000c80| 43 20 73 74 79 6c 65 20 | 73 74 72 69 6e 67 2e 20 |C style |string. |
|00000c90| 54 68 65 72 65 20 61 72 | 65 20 36 20 7a 65 72 6f |There ar|e 6 zero|
|00000ca0| 20 62 79 74 65 73 20 66 | 6f 6c 6c 6f 77 69 6e 67 | bytes f|ollowing|
|00000cb0| 20 74 68 65 20 6c 61 73 | 74 20 6c 65 74 74 65 72 | the las|t letter|
|00000cc0| 20 6f 66 20 74 68 65 20 | 73 74 72 69 6e 67 2c 20 | of the |string, |
|00000cd0| 74 68 65 6e 20 61 20 62 | 79 74 65 20 77 68 6f 73 |then a b|yte whos|
|00000ce0| 65 20 76 61 6c 75 65 20 | 69 73 20 30 33 2e 20 53 |e value |is 03. S|
|00000cf0| 69 6e 63 65 20 74 68 69 | 73 20 30 33 20 63 61 6e |ince thi|s 03 can|
|00000d00| 6e 6f 74 20 62 65 20 70 | 61 72 74 20 6f 66 20 61 |not be p|art of a|
|00000d10| 20 73 74 72 69 6e 67 20 | 28 69 74 27 73 20 6e 6f | string |(it's no|
|00000d20| 74 20 61 20 70 72 69 6e | 74 61 62 6c 65 20 63 68 |t a prin|table ch|
|00000d30| 61 72 61 63 74 65 72 29 | 2c 20 74 68 69 73 20 73 |aracter)|, this s|
|00000d40| 75 67 67 65 73 74 73 20 | 74 68 61 74 20 74 68 65 |uggests |that the|
|00000d50| 20 6d 61 78 69 6d 75 6d | 20 6c 65 6e 67 74 68 20 | maximum| length |
|00000d60| 6f 66 20 74 68 65 20 73 | 74 72 69 6e 67 20 69 73 |of the s|tring is|
|00000d70| 20 31 35 20 70 72 69 6e | 74 61 62 6c 65 20 63 68 | 15 prin|table ch|
|00000d80| 61 72 61 63 74 65 72 73 | 20 28 6f 72 20 31 36 20 |aracters| (or 16 |
|00000d90| 62 79 74 65 73 20 69 6e | 63 6c 75 64 69 6e 67 20 |bytes in|cluding |
|00000da0| 74 68 65 20 7a 65 72 6f | 20 74 65 72 6d 69 6e 61 |the zero| termina|
|00000db0| 74 6f 72 29 2e 20 41 73 | 20 61 20 64 6f 75 62 6c |tor). As| a doubl|
|00000dc0| 65 20 63 68 65 63 6b 2c | 20 77 65 20 63 61 6e 20 |e check,| we can |
|00000dd0| 74 72 79 20 74 6f 20 63 | 72 65 61 74 65 20 61 20 |try to c|reate a |
|00000de0| 70 69 6c 6f 74 20 69 6e | 20 74 68 65 20 67 61 6d |pilot in| the gam|
|00000df0| 65 20 77 68 6f 73 65 20 | 63 61 6c 6c 2d 73 69 67 |e whose |call-sig|
|00000e00| 6e 20 69 73 20 6c 6f 6e | 67 65 72 20 74 68 61 6e |n is lon|ger than|
|00000e10| 20 31 35 20 63 68 61 72 | 61 63 74 65 72 73 2e 20 | 15 char|acters. |
|00000e20| 57 65 20 61 6c 73 6f 20 | 6e 6f 74 65 20 74 68 61 |We also |note tha|
|00000e30| 74 20 74 68 65 20 67 61 | 6d 65 20 64 6f 65 73 20 |t the ga|me does |
|00000e40| 6e 6f 74 20 61 6c 6c 6f | 77 20 61 20 70 69 6c 6f |not allo|w a pilo|
|00000e50| 74 20 77 69 74 68 20 6e | 6f 20 6e 61 6d 65 2e 0d |t with n|o name..|
|00000e60| 0d 54 68 65 20 66 69 72 | 73 74 20 27 41 43 45 63 |.The fir|st 'ACEc|
|00000e70| 27 20 63 6f 6e 74 72 6f | 6c 20 28 72 65 73 6f 75 |' contro|l (resou|
|00000e80| 72 63 65 20 69 64 20 31 | 32 38 29 20 63 61 6e 20 |rce id 1|28) can |
|00000e90| 6e 6f 77 20 62 65 20 63 | 72 65 61 74 65 64 2e 20 |now be c|reated. |
|00000ea0| 49 74 20 69 73 20 6e 61 | 6d 65 64 20 22 43 61 6c |It is na|med "Cal|
|00000eb0| 6c 2d 73 69 67 6e 22 20 | 28 76 69 61 20 74 68 65 |l-sign" |(via the|
|00000ec0| 20 47 65 74 20 52 65 73 | 6f 75 72 63 65 20 49 6e | Get Res|ource In|
|00000ed0| 66 6f 20 63 6f 6d 6d 61 | 6e 64 29 20 61 6e 64 20 |fo comma|nd) and |
|00000ee0| 74 68 65 20 66 69 65 6c | 64 73 20 6f 66 20 74 68 |the fiel|ds of th|
|00000ef0| 65 20 72 65 73 6f 75 72 | 63 65 20 61 72 65 20 61 |e resour|ce are a|
|00000f00| 73 20 66 6f 6c 6c 6f 77 | 73 3a 0d 0d 4d 69 6e 69 |s follow|s:..Mini|
|00000f10| 6d 75 6d 3a 20 31 20 20 | 20 20 20 20 20 20 20 20 |mum: 1 | |
|00000f20| 28 74 68 65 20 6d 69 6e | 69 6d 75 6d 20 6c 65 6e |(the min|imum len|
|00000f30| 67 74 68 20 6f 66 20 74 | 68 65 20 63 61 6c 6c 2d |gth of t|he call-|
|00000f40| 73 69 67 6e 20 69 73 20 | 31 20 63 68 61 72 61 63 |sign is |1 charac|
|00000f50| 74 65 72 29 0d 4d 61 78 | 69 6d 75 6d 3a 20 31 35 |ter).Max|imum: 15|
|00000f60| 20 20 20 20 20 20 20 20 | 20 28 74 68 65 20 6d 61 | | (the ma|
|00000f70| 78 69 6d 75 6d 20 6c 65 | 6e 67 74 68 20 6f 66 20 |ximum le|ngth of |
|00000f80| 74 68 65 20 63 61 6c 6c | 2d 73 69 67 6e 20 69 73 |the call|-sign is|
|00000f90| 20 31 35 20 63 68 61 72 | 61 63 74 65 72 73 29 0d | 15 char|acters).|
|00000fa0| 4f 66 66 73 65 74 20 31 | 2c 20 4f 66 66 73 65 74 |Offset 1|, Offset|
|00000fb0| 20 32 3a 20 24 30 30 30 | 30 30 30 30 30 20 20 20 | 2: $000|00000 |
|00000fc0| 28 77 72 69 74 74 65 6e | 20 74 6f 20 6f 6e 6c 79 |(written| to only|
|00000fd0| 20 6f 6e 65 20 6c 6f 63 | 61 74 69 6f 6e 2c 20 61 | one loc|ation, a|
|00000fe0| 74 20 6f 66 66 73 65 74 | 20 30 29 0d 4c 69 6e 6b |t offset| 0).Link|
|00000ff0| 20 31 2c 20 4c 69 6e 6b | 20 32 3a 20 30 20 20 20 | 1, Link| 2: 0 |
|00001000| 28 74 68 65 20 63 6f 6e | 74 72 6f 6c 20 69 6e 20 |(the con|trol in |
|00001010| 74 68 65 20 64 69 61 6c | 6f 67 20 77 69 6c 6c 20 |the dial|og will |
|00001020| 6e 6f 74 20 62 65 20 61 | 20 72 61 64 69 6f 20 62 |not be a| radio b|
|00001030| 75 74 74 6f 6e 29 0d 54 | 79 70 65 3a 20 31 20 20 |utton).T|ype: 1 |
|00001040| 20 20 20 20 20 20 20 20 | 20 20 20 28 61 20 43 20 | | (a C |
|00001050| 73 74 72 69 6e 67 29 0d | 45 71 75 61 74 69 6f 6e |string).|Equation|
|00001060| 20 74 6f 20 73 63 72 65 | 65 6e 2c 20 45 71 75 61 | to scre|en, Equa|
|00001070| 74 69 6f 6e 20 74 6f 20 | 66 69 6c 65 3a 20 30 20 |tion to |file: 0 |
|00001080| 20 20 28 6e 6f 20 65 71 | 75 61 74 69 6f 6e 20 69 | (no eq|uation i|
|00001090| 73 20 75 73 65 64 29 0d | 0d 54 6f 20 64 65 74 65 |s used).|.To dete|
|000010a0| 72 6d 69 6e 65 20 74 68 | 65 20 76 61 6c 75 65 73 |rmine th|e values|
|000010b0| 20 61 6e 64 20 6c 6f 63 | 61 74 69 6f 6e 73 20 6f | and loc|ations o|
|000010c0| 66 20 74 68 65 20 6f 74 | 68 65 72 20 67 61 6d 65 |f the ot|her game|
|000010d0| 20 76 61 72 69 61 62 6c | 65 73 2c 20 77 65 20 75 | variabl|es, we u|
|000010e0| 73 65 20 73 61 76 65 20 | 67 61 6d 65 20 63 6f 6d |se save |game com|
|000010f0| 70 61 72 69 73 6f 6e 2c | 20 73 69 6e 63 65 20 74 |parison,| since t|
|00001100| 68 65 20 73 61 76 65 20 | 67 61 6d 65 20 64 61 74 |he save |game dat|
|00001110| 61 20 64 6f 65 73 20 6e | 6f 74 20 63 6f 6e 74 61 |a does n|ot conta|
|00001120| 69 6e 20 61 6e 79 20 74 | 69 6d 65 20 64 65 70 65 |in any t|ime depe|
|00001130| 6e 64 61 6e 74 20 65 6c | 65 6d 65 6e 74 73 20 28 |ndant el|ements (|
|00001140| 63 6f 6e 66 69 72 6d 65 | 64 20 62 79 20 6d 61 6b |confirme|d by mak|
|00001150| 69 6e 67 20 74 77 6f 20 | 73 61 76 65 20 67 61 6d |ing two |save gam|
|00001160| 65 73 2c 20 6f 6e 65 20 | 61 20 66 65 77 20 73 65 |es, one |a few se|
|00001170| 63 6f 6e 64 73 20 66 75 | 72 74 68 65 72 20 69 6e |conds fu|rther in|
|00001180| 74 6f 20 74 68 65 20 67 | 61 6d 65 20 74 68 61 6e |to the g|ame than|
|00001190| 20 74 68 65 20 6f 74 68 | 65 72 2c 20 61 6e 64 20 | the oth|er, and |
|000011a0| 63 6f 6d 70 61 72 69 6e | 67 20 74 68 65 6d 20 77 |comparin|g them w|
|000011b0| 69 74 68 20 52 65 73 43 | 6f 6d 70 61 72 65 29 2e |ith ResC|ompare).|
|000011c0| 0d 0d 57 65 20 70 6c 61 | 79 20 74 68 65 20 67 61 |..We pla|y the ga|
|000011d0| 6d 65 20 77 69 74 68 20 | 74 68 65 20 70 72 65 76 |me with |the prev|
|000011e0| 69 6f 75 73 20 73 61 76 | 65 20 67 61 6d 65 20 66 |ious sav|e game f|
|000011f0| 69 6c 65 20 75 6e 74 69 | 6c 20 77 65 20 6c 6f 6f |ile unti|l we loo|
|00001200| 73 65 20 74 68 65 20 70 | 6f 77 65 72 2d 75 70 2e |se the p|ower-up.|
|00001210| 20 57 65 20 74 68 65 6e | 20 73 61 76 65 20 74 68 | We then| save th|
|00001220| 65 20 67 61 6d 65 20 75 | 6e 64 65 72 20 61 20 6e |e game u|nder a n|
|00001230| 65 77 20 66 69 6c 65 6e | 61 6d 65 20 28 22 73 61 |ew filen|ame ("sa|
|00001240| 76 65 20 67 61 6d 65 20 | 32 22 29 2e 20 55 73 69 |ve game |2"). Usi|
|00001250| 6e 67 20 52 65 73 43 6f | 6d 70 61 72 65 20 74 6f |ng ResCo|mpare to|
|00001260| 20 63 6f 6d 70 61 72 65 | 20 74 68 65 20 74 77 6f | compare| the two|
|00001270| 20 66 69 6c 65 73 2c 20 | 77 65 20 73 65 65 20 74 | files, |we see t|
|00001280| 68 61 74 20 74 68 65 20 | 76 61 6c 75 65 20 6f 66 |hat the |value of|
|00001290| 20 74 68 65 20 62 79 74 | 65 73 20 61 74 20 6f 66 | the byt|es at of|
|000012a0| 66 73 65 74 20 24 31 30 | 20 61 6e 64 20 24 31 31 |fset $10| and $11|
|000012b0| 20 68 61 76 65 20 63 68 | 61 6e 67 65 64 2e 20 49 | have ch|anged. I|
|000012c0| 6e 20 22 73 61 76 65 20 | 67 61 6d 65 22 2c 20 74 |n "save |game", t|
|000012d0| 68 65 20 76 61 6c 75 65 | 20 6f 66 20 74 68 65 73 |he value| of thes|
|000012e0| 65 20 62 79 74 65 73 20 | 77 65 72 65 20 33 20 61 |e bytes |were 3 a|
|000012f0| 6e 64 20 24 38 34 2c 20 | 69 6e 20 22 73 61 76 65 |nd $84, |in "save|
|00001300| 20 67 61 6d 65 20 32 22 | 20 69 74 20 69 73 20 30 | game 2"| it is 0|
|00001310| 2e 20 57 65 20 64 65 64 | 75 63 65 20 74 68 61 74 |. We ded|uce that|
|00001320| 20 61 20 73 68 6f 72 74 | 20 28 74 77 6f 20 62 79 | a short| (two by|
|00001330| 74 65 29 20 76 61 72 69 | 61 62 6c 65 20 73 74 61 |te) vari|able sta|
|00001340| 72 74 69 6e 67 20 61 74 | 20 6f 66 66 73 65 74 20 |rting at| offset |
|00001350| 24 31 30 20 64 65 74 65 | 72 6d 69 6e 65 73 20 69 |$10 dete|rmines i|
|00001360| 66 20 74 68 65 20 70 69 | 6c 6f 74 20 68 61 73 20 |f the pi|lot has |
|00001370| 74 68 65 20 70 6f 77 65 | 72 2d 75 70 2c 20 61 6e |the powe|r-up, an|
|00001380| 64 20 74 68 61 74 20 69 | 74 27 73 20 76 61 6c 75 |d that i|t's valu|
|00001390| 65 20 69 73 20 24 30 33 | 38 34 20 69 66 20 74 68 |e is $03|84 if th|
|000013a0| 65 20 70 6f 77 65 72 2d | 75 70 20 69 73 20 70 72 |e power-|up is pr|
|000013b0| 65 73 65 6e 74 2c 20 6f | 72 20 30 20 69 66 20 69 |esent, o|r 0 if i|
|000013c0| 74 20 69 73 20 6e 6f 74 | 2e 0d 0d 54 68 65 20 73 |t is not|...The s|
|000013d0| 65 63 6f 6e 64 20 27 41 | 43 45 63 27 20 72 65 73 |econd 'A|CEc' res|
|000013e0| 6f 75 72 63 65 20 28 69 | 64 20 31 32 39 29 20 63 |ource (i|d 129) c|
|000013f0| 61 6e 20 6e 6f 77 20 62 | 65 20 63 72 65 61 74 65 |an now b|e create|
|00001400| 64 2e 20 49 74 20 69 73 | 20 6e 61 6d 65 64 20 22 |d. It is| named "|
|00001410| 48 79 70 65 72 62 6f 6c | 69 63 20 77 69 64 67 79 |Hyperbol|ic widgy|
|00001420| 20 77 6f 6f 22 20 61 6e | 64 20 74 68 65 20 66 69 | woo" an|d the fi|
|00001430| 65 6c 64 73 20 61 72 65 | 3a 0d 0d 4d 69 6e 69 6d |elds are|:..Minim|
|00001440| 75 6d 3a 20 30 20 20 20 | 20 20 20 20 20 20 20 28 |um: 0 | (|
|00001450| 74 68 65 20 76 61 6c 75 | 65 20 74 61 6b 65 6e 20 |the valu|e taken |
|00001460| 69 66 20 74 68 65 20 70 | 6f 77 65 72 2d 75 70 20 |if the p|ower-up |
|00001470| 69 73 20 6e 6f 74 20 70 | 72 65 73 65 6e 74 29 0d |is not p|resent).|
|00001480| 4d 61 78 69 6d 75 6d 3a | 20 39 30 30 20 20 20 20 |Maximum:| 900 |
|00001490| 20 20 20 20 28 3d 20 24 | 33 38 34 2c 20 74 68 65 | (= $|384, the|
|000014a0| 20 76 61 6c 75 65 20 74 | 61 6b 65 6e 20 69 66 20 | value t|aken if |
|000014b0| 74 68 65 20 70 6f 77 65 | 72 2d 75 70 20 69 73 20 |the powe|r-up is |
|000014c0| 70 72 65 73 65 6e 74 29 | 0d 4f 66 66 73 65 74 20 |present)|.Offset |
|000014d0| 31 2c 20 4f 66 66 73 65 | 74 20 32 3a 20 24 30 30 |1, Offse|t 2: $00|
|000014e0| 30 30 30 30 31 30 20 20 | 20 28 77 72 69 74 74 65 |000010 | (writte|
|000014f0| 6e 20 74 6f 20 6f 6e 65 | 20 6c 6f 63 61 74 69 6f |n to one| locatio|
|00001500| 6e 2c 20 73 74 61 72 74 | 69 6e 67 20 61 74 20 6f |n, start|ing at o|
|00001510| 66 66 73 65 74 20 24 31 | 30 29 0d 4c 69 6e 6b 20 |ffset $1|0).Link |
|00001520| 31 2c 20 4c 69 6e 6b 20 | 32 3a 20 30 20 20 20 28 |1, Link |2: 0 (|
|00001530| 74 68 65 20 63 6f 6e 74 | 72 6f 6c 20 69 6e 20 74 |the cont|rol in t|
|00001540| 68 65 20 64 69 61 6c 6f | 67 20 77 69 6c 6c 20 6e |he dialo|g will n|
|00001550| 6f 74 20 62 65 20 61 20 | 72 61 64 69 6f 20 62 75 |ot be a |radio bu|
|00001560| 74 74 6f 6e 29 0d 54 79 | 70 65 3a 20 33 20 20 20 |tton).Ty|pe: 3 |
|00001570| 20 20 20 20 20 20 20 20 | 20 20 28 61 6e 20 75 6e | | (an un|
|00001580| 73 69 67 6e 65 64 20 73 | 68 6f 72 74 29 0d 45 71 |signed s|hort).Eq|
|00001590| 75 61 74 69 6f 6e 20 74 | 6f 20 73 63 72 65 65 6e |uation t|o screen|
|000015a0| 2c 20 45 71 75 61 74 69 | 6f 6e 20 74 6f 20 66 69 |, Equati|on to fi|
|000015b0| 6c 65 3a 20 30 20 20 20 | 28 6e 6f 20 65 71 75 61 |le: 0 |(no equa|
|000015c0| 74 69 6f 6e 20 69 73 20 | 75 73 65 64 29 0d 0d 46 |tion is |used)..F|
|000015d0| 69 6e 61 6c 6c 79 2c 20 | 77 65 20 75 73 65 20 74 |inally, |we use t|
|000015e0| 68 65 20 73 61 6d 65 20 | 63 6f 6d 70 61 72 61 73 |he same |comparas|
|000015f0| 6f 6e 20 6d 65 74 68 6f | 64 20 74 6f 20 64 65 74 |on metho|d to det|
|00001600| 65 72 6d 69 6e 65 20 74 | 68 65 20 6c 61 73 74 20 |ermine t|he last |
|00001610| 67 61 6d 65 20 76 61 72 | 69 61 62 6c 65 20 2d 20 |game var|iable - |
|00001620| 74 68 65 20 65 6d 65 72 | 67 65 6e 63 79 20 73 65 |the emer|gency se|
|00001630| 74 74 69 6e 67 2e 20 50 | 6c 61 79 69 6e 67 20 74 |tting. P|laying t|
|00001640| 68 65 20 67 61 6d 65 20 | 66 72 6f 6d 20 74 68 65 |he game |from the|
|00001650| 20 66 69 72 73 74 20 73 | 61 76 65 20 67 61 6d 65 | first s|ave game|
|00001660| 20 28 6e 6f 74 20 22 73 | 61 76 65 20 67 61 6d 65 | (not "s|ave game|
|00001670| 20 32 22 29 20 77 65 20 | 63 68 61 6e 67 65 20 74 | 2") we |change t|
|00001680| 68 65 20 65 6d 65 72 67 | 65 6e 63 79 20 73 65 74 |he emerg|ency set|
|00001690| 74 69 6e 67 20 74 6f 20 | 27 77 68 69 6d 70 65 72 |ting to |'whimper|
|000016a0| 27 2c 20 61 6e 64 20 73 | 61 76 65 20 74 68 65 20 |', and s|ave the |
|000016b0| 67 61 6d 65 20 75 6e 64 | 65 72 20 61 20 6e 65 77 |game und|er a new|
|000016c0| 20 66 69 6c 65 6e 61 6d | 65 20 28 22 73 61 76 65 | filenam|e ("save|
|000016d0| 20 67 61 6d 65 20 33 22 | 29 2e 20 55 73 69 6e 67 | game 3"|). Using|
|000016e0| 20 52 65 73 43 6f 6d 70 | 61 72 65 20 61 67 61 69 | ResComp|are agai|
|000016f0| 6e 20 72 65 76 65 61 6c | 73 20 74 68 61 74 20 74 |n reveal|s that t|
|00001700| 68 65 20 6f 6e 6c 79 20 | 64 69 66 66 65 72 65 6e |he only |differen|
|00001710| 63 65 20 69 73 20 74 68 | 65 20 76 61 6c 75 65 20 |ce is th|e value |
|00001720| 6f 66 20 74 68 65 20 62 | 79 74 65 20 61 74 20 6f |of the b|yte at o|
|00001730| 66 66 73 65 74 20 24 31 | 32 2e 20 49 74 27 73 20 |ffset $1|2. It's |
|00001740| 76 61 6c 75 65 20 69 73 | 20 30 20 69 66 20 74 68 |value is| 0 if th|
|00001750| 65 20 65 6d 65 72 67 65 | 6e 63 79 20 73 65 74 74 |e emerge|ncy sett|
|00001760| 69 6e 67 20 69 73 20 27 | 77 68 69 6d 70 65 72 27 |ing is '|whimper'|
|00001770| 2c 20 61 6e 64 20 31 20 | 69 66 20 69 74 20 69 73 |, and 1 |if it is|
|00001780| 20 27 70 61 6e 69 63 27 | 2e 0d 0d 42 65 63 61 75 | 'panic'|...Becau|
|00001790| 73 65 20 74 68 65 20 65 | 6d 65 72 67 65 6e 63 79 |se the e|mergency|
|000017a0| 20 73 65 74 74 69 6e 67 | 20 69 73 20 69 6d 70 6c | setting| is impl|
|000017b0| 65 6d 65 6e 74 65 64 20 | 61 73 20 61 20 70 61 69 |emented |as a pai|
|000017c0| 72 20 6f 66 20 72 61 64 | 69 6f 20 62 75 74 74 6f |r of rad|io butto|
|000017d0| 6e 73 2c 20 77 65 20 6d | 75 73 74 20 63 72 65 61 |ns, we m|ust crea|
|000017e0| 74 65 20 74 77 6f 20 27 | 41 43 45 63 27 20 72 65 |te two '|ACEc' re|
|000017f0| 73 6f 75 72 63 65 73 20 | 28 69 64 20 31 33 30 20 |sources |(id 130 |
|00001800| 61 6e 64 20 31 33 31 29 | 2c 20 6f 6e 65 20 66 6f |and 131)|, one fo|
|00001810| 72 20 65 61 63 68 20 72 | 61 64 69 6f 20 62 75 74 |r each r|adio but|
|00001820| 74 6f 6e 2e 20 54 68 65 | 20 27 41 43 45 63 27 20 |ton. The| 'ACEc' |
|00001830| 72 65 73 6f 75 72 63 65 | 73 20 61 72 65 20 6e 61 |resource|s are na|
|00001840| 6d 65 64 20 22 77 68 69 | 6d 70 65 72 22 20 61 6e |med "whi|mper" an|
|00001850| 64 20 22 70 61 6e 69 63 | 22 2e 20 54 68 65 20 66 |d "panic|". The f|
|00001860| 69 65 6c 64 73 20 66 6f | 72 20 65 61 63 68 20 72 |ields fo|r each r|
|00001870| 65 73 6f 75 72 63 65 20 | 61 72 65 20 74 68 65 20 |esource |are the |
|00001880| 73 61 6d 65 2c 20 61 6e | 64 20 74 68 65 79 20 61 |same, an|d they a|
|00001890| 72 65 3a 0d 0d 4d 69 6e | 69 6d 75 6d 3a 20 30 20 |re:..Min|imum: 0 |
|000018a0| 20 20 28 74 68 65 20 76 | 61 6c 75 65 20 74 61 6b | (the v|alue tak|
|000018b0| 65 6e 20 69 66 20 74 68 | 65 20 65 6d 65 72 67 65 |en if th|e emerge|
|000018c0| 6e 63 79 20 73 65 74 74 | 69 6e 67 20 69 73 20 27 |ncy sett|ing is '|
|000018d0| 77 68 69 6d 70 65 72 27 | 29 0d 4d 61 78 69 6d 75 |whimper'|).Maximu|
|000018e0| 6d 3a 20 31 20 20 20 28 | 74 68 65 20 76 61 6c 75 |m: 1 (|the valu|
|000018f0| 65 20 74 61 6b 65 6e 20 | 69 66 20 74 68 65 20 65 |e taken |if the e|
|00001900| 6d 65 72 67 65 6e 63 79 | 20 73 65 74 74 69 6e 67 |mergency| setting|
|00001910| 20 69 73 20 27 70 61 6e | 69 63 27 29 0d 4f 66 66 | is 'pan|ic').Off|
|00001920| 73 65 74 20 31 2c 20 4f | 66 66 73 65 74 20 32 3a |set 1, O|ffset 2:|
|00001930| 20 24 30 30 30 30 30 30 | 31 32 20 20 20 28 77 72 | $000000|12 (wr|
|00001940| 69 74 74 65 6e 20 74 6f | 20 6f 6e 65 20 6c 6f 63 |itten to| one loc|
|00001950| 61 74 69 6f 6e 2c 20 61 | 74 20 6f 66 66 73 65 74 |ation, a|t offset|
|00001960| 20 24 31 32 29 0d 4c 69 | 6e 6b 20 31 3a 20 33 20 | $12).Li|nk 1: 3 |
|00001970| 20 20 20 28 74 68 65 20 | 63 6f 6e 74 72 6f 6c 20 | (the |control |
|00001980| 6e 75 6d 62 65 72 20 6f | 66 20 74 68 65 20 66 69 |number o|f the fi|
|00001990| 72 73 74 20 72 61 64 69 | 6f 20 62 75 74 74 6f 6e |rst radi|o button|
|000019a0| 2c 20 74 68 65 20 33 72 | 64 20 27 41 43 45 63 27 |, the 3r|d 'ACEc'|
|000019b0| 20 72 65 73 6f 75 72 63 | 65 29 0d 4c 69 6e 6b 20 | resourc|e).Link |
|000019c0| 32 3a 20 34 20 20 20 20 | 28 74 68 65 20 63 6f 6e |2: 4 |(the con|
|000019d0| 74 72 6f 6c 20 6e 75 6d | 62 65 72 20 6f 66 20 74 |trol num|ber of t|
|000019e0| 68 65 20 6c 61 73 74 20 | 72 61 64 69 6f 20 62 75 |he last |radio bu|
|000019f0| 74 74 6f 6e 2c 20 74 68 | 65 20 34 74 68 20 27 41 |tton, th|e 4th 'A|
|00001a00| 43 45 63 27 20 72 65 73 | 6f 75 72 63 65 29 0d 54 |CEc' res|ource).T|
|00001a10| 79 70 65 3a 20 37 20 20 | 20 20 20 20 28 61 20 62 |ype: 7 | (a b|
|00001a20| 79 74 65 29 0d 45 71 75 | 61 74 69 6f 6e 20 74 6f |yte).Equ|ation to|
|00001a30| 20 73 63 72 65 65 6e 2c | 20 45 71 75 61 74 69 6f | screen,| Equatio|
|00001a40| 6e 20 74 6f 20 66 69 6c | 65 3a 20 30 20 20 20 28 |n to fil|e: 0 (|
|00001a50| 6e 6f 20 65 71 75 61 74 | 69 6f 6e 20 69 73 20 75 |no equat|ion is u|
|00001a60| 73 65 64 29 0d 0d 54 68 | 65 20 6d 6f 64 75 6c 65 |sed)..Th|e module|
|00001a70| 20 69 73 20 6e 6f 77 20 | 63 6f 6d 70 6c 65 74 65 | is now |complete|
|00001a80| 2e 0d 0d 0d 54 61 62 62 | 65 64 20 57 69 6e 64 6f |....Tabb|ed Windo|
|00001a90| 77 20 44 65 76 65 6c 6f | 70 6d 65 6e 74 0d 0d 54 |w Develo|pment..T|
|00001aa0| 68 65 20 66 69 72 73 74 | 20 73 74 65 70 20 69 6e |he first| step in|
|00001ab0| 20 6d 6f 64 69 66 79 69 | 6e 67 20 61 20 6d 6f 64 | modifyi|ng a mod|
|00001ac0| 75 6c 65 20 74 6f 20 75 | 73 65 20 61 20 74 61 62 |ule to u|se a tab|
|00001ad0| 62 65 64 20 77 69 6e 64 | 6f 77 20 69 73 20 74 6f |bed wind|ow is to|
|00001ae0| 20 64 65 63 69 64 65 20 | 68 6f 77 20 6d 61 6e 79 | decide |how many|
|00001af0| 20 70 61 6e 65 73 20 74 | 68 65 72 65 20 77 69 6c | panes t|here wil|
|00001b00| 6c 20 62 65 20 69 6e 20 | 74 68 65 20 64 69 61 6c |l be in |the dial|
|00001b10| 6f 67 73 2c 20 61 6e 64 | 20 77 68 61 74 20 63 6f |ogs, and| what co|
|00001b20| 6e 74 72 6f 6c 73 20 77 | 69 6c 6c 20 61 70 70 65 |ntrols w|ill appe|
|00001b30| 61 72 20 69 6e 20 65 61 | 63 68 20 64 69 61 6c 6f |ar in ea|ch dialo|
|00001b40| 67 20 70 61 6e 65 2e 20 | 46 6f 72 20 74 68 65 20 |g pane. |For the |
|00001b50| 74 75 74 6f 72 69 61 6c | 20 6d 6f 64 75 6c 65 2c |tutorial| module,|
|00001b60| 20 77 65 20 77 69 6c 6c | 20 68 61 76 65 20 74 77 | we will| have tw|
|00001b70| 6f 20 70 61 6e 65 73 2c | 20 74 68 65 20 66 69 72 |o panes,| the fir|
|00001b80| 73 74 20 63 6f 6e 74 61 | 69 6e 69 6e 67 20 74 68 |st conta|ining th|
|00001b90| 65 20 63 61 6c 6c 2d 73 | 69 67 6e 20 61 6e 64 20 |e call-s|ign and |
|00001ba0| 70 6f 77 65 72 2d 75 70 | 20 63 6f 6e 74 72 6f 6c |power-up| control|
|00001bb0| 73 2c 20 74 68 65 20 73 | 65 63 6f 6e 64 20 63 6f |s, the s|econd co|
|00001bc0| 6e 74 61 69 6e 69 6e 67 | 20 74 68 65 20 65 6d 65 |ntaining| the eme|
|00001bd0| 72 67 65 6e 63 79 20 73 | 65 74 74 69 6e 67 73 20 |rgency s|ettings |
|00001be0| 72 61 64 69 6f 2d 62 75 | 74 74 6f 6e 73 2e 20 54 |radio-bu|ttons. T|
|00001bf0| 68 65 20 6e 61 6d 65 20 | 6f 66 20 74 68 65 20 66 |he name |of the f|
|00001c00| 69 72 73 74 20 70 61 6e | 65 20 77 69 6c 6c 20 62 |irst pan|e will b|
|00001c10| 65 20 22 50 69 6c 6f 74 | 22 20 28 73 69 6e 63 65 |e "Pilot|" (since|
|00001c20| 20 74 68 65 20 66 69 72 | 73 74 20 70 61 6e 65 20 | the fir|st pane |
|00001c30| 69 73 20 63 6f 6e 63 65 | 72 6e 65 64 20 77 69 74 |is conce|rned wit|
|00001c40| 68 20 70 69 6c 6f 74 20 | 64 61 74 61 29 20 61 6e |h pilot |data) an|
|00001c50| 64 20 74 68 65 20 73 65 | 63 6f 6e 64 20 70 61 6e |d the se|cond pan|
|00001c60| 65 20 77 69 6c 6c 20 62 | 65 20 63 61 6c 6c 65 64 |e will b|e called|
|00001c70| 20 22 45 6d 65 72 67 65 | 6e 63 79 22 2e 0d 0d 57 | "Emerge|ncy"...W|
|00001c80| 65 20 63 72 65 61 74 65 | 20 61 20 27 74 61 62 23 |e create| a 'tab#|
|00001c90| 27 20 72 65 73 6f 75 72 | 63 65 20 28 69 64 20 31 |' resour|ce (id 1|
|00001ca0| 32 38 29 2e 20 54 68 65 | 20 27 74 61 62 23 27 20 |28). The| 'tab#' |
|00001cb0| 72 65 73 6f 75 72 63 65 | 20 68 61 73 20 74 77 6f |resource| has two|
|00001cc0| 20 54 61 62 20 69 6e 66 | 6f 20 72 65 63 6f 72 64 | Tab inf|o record|
|00001cd0| 73 2c 20 77 69 74 68 20 | 54 61 62 20 6e 61 6d 65 |s, with |Tab name|
|00001ce0| 73 20 22 50 69 6c 6f 74 | 22 20 61 6e 64 20 22 45 |s "Pilot|" and "E|
|00001cf0| 6d 65 72 67 65 6e 63 79 | 22 20 72 65 73 70 65 63 |mergency|" respec|
|00001d00| 74 69 76 65 6c 79 2e 0d | 0d 4e 65 78 74 2c 20 77 |tively..|.Next, w|
|00001d10| 65 20 63 72 65 61 74 65 | 20 74 68 65 20 74 77 6f |e create| the two|
|00001d20| 20 64 69 61 6c 6f 67 20 | 70 61 6e 65 73 20 62 79 | dialog |panes by|
|00001d30| 20 6d 61 6b 69 6e 67 20 | 74 77 6f 20 64 75 70 6c | making |two dupl|
|00001d40| 69 63 61 74 65 73 20 6f | 66 20 74 68 65 20 44 49 |icates o|f the DI|
|00001d50| 54 4c 20 69 64 20 31 32 | 38 20 72 65 73 6f 75 72 |TL id 12|8 resour|
|00001d60| 63 65 2c 20 63 68 61 6e | 67 69 6e 67 20 74 68 65 |ce, chan|ging the|
|00001d70| 69 72 20 49 44 20 74 6f | 20 32 30 30 20 61 6e 64 |ir ID to| 200 and|
|00001d80| 20 32 30 31 20 61 6e 64 | 20 74 68 65 69 72 20 6e | 201 and| their n|
|00001d90| 61 6d 65 73 20 74 6f 20 | 22 50 69 6c 6f 74 22 20 |ames to |"Pilot" |
|00001da0| 61 6e 64 20 22 45 6d 65 | 72 67 65 6e 63 79 22 20 |and "Eme|rgency" |
|00001db0| 72 65 73 70 65 63 74 69 | 76 65 6c 79 2e 20 57 65 |respecti|vely. We|
|00001dc0| 20 6f 70 65 6e 20 74 68 | 65 20 27 44 49 54 4c 27 | open th|e 'DITL'|
|00001dd0| 20 69 64 20 32 30 30 20 | 61 6e 64 20 64 65 6c 65 | id 200 |and dele|
|00001de0| 74 65 20 64 69 61 6c 6f | 67 20 69 74 65 6d 73 20 |te dialo|g items |
|00001df0| 33 2c 20 34 20 61 6e 64 | 20 36 2e 20 54 68 69 73 |3, 4 and| 6. This|
|00001e00| 20 6c 65 61 76 65 73 20 | 6f 6e 6c 79 20 74 68 65 | leaves |only the|
|00001e10| 20 69 74 65 6d 73 20 74 | 68 61 74 20 77 69 6c 6c | items t|hat will|
|00001e20| 20 61 70 70 65 61 72 20 | 69 6e 20 74 68 65 20 66 | appear |in the f|
|00001e30| 69 72 73 74 20 64 69 61 | 6c 6f 67 20 70 61 6e 65 |irst dia|log pane|
|00001e40| 2e 20 57 65 20 70 6f 73 | 69 74 69 6f 6e 20 74 68 |. We pos|ition th|
|00001e50| 65 73 65 20 72 65 6d 61 | 69 6e 69 6e 67 20 69 74 |ese rema|ining it|
|00001e60| 65 6d 73 20 73 6f 20 74 | 68 61 74 20 74 68 65 20 |ems so t|hat the |
|00001e70| 74 6f 70 20 6c 65 66 74 | 20 69 74 65 6d 73 20 61 |top left| items a|
|00001e80| 72 65 20 61 74 20 6c 65 | 66 74 20 31 30 2c 20 74 |re at le|ft 10, t|
|00001e90| 6f 70 20 34 35 2e 0d 0d | 57 65 20 6f 70 65 6e 20 |op 45...|We open |
|00001ea0| 74 68 65 20 27 44 49 54 | 4c 27 20 69 64 20 32 30 |the 'DIT|L' id 20|
|00001eb0| 31 20 61 6e 64 20 64 65 | 6c 65 74 65 20 69 74 65 |1 and de|lete ite|
|00001ec0| 6d 73 20 31 2c 20 32 20 | 61 6e 64 20 35 2c 20 6c |ms 1, 2 |and 5, l|
|00001ed0| 65 61 76 69 6e 67 20 6f | 6e 6c 79 20 74 68 65 20 |eaving o|nly the |
|00001ee0| 69 74 65 6d 73 20 74 68 | 61 74 20 77 69 6c 6c 20 |items th|at will |
|00001ef0| 61 70 70 65 61 72 20 69 | 6e 20 74 68 65 20 73 65 |appear i|n the se|
|00001f00| 63 6f 6e 64 20 64 69 61 | 6c 6f 67 20 70 61 6e 65 |cond dia|log pane|
|00001f10| 2e 20 41 67 61 69 6e 2c | 20 77 65 20 70 6f 73 69 |. Again,| we posi|
|00001f20| 74 69 6f 6e 20 74 68 65 | 20 72 65 6d 61 69 6e 69 |tion the| remaini|
|00001f30| 6e 67 20 69 74 65 6d 73 | 20 73 6f 20 74 68 61 74 |ng items| so that|
|00001f40| 20 74 68 65 20 74 6f 70 | 20 6c 65 66 74 20 69 74 | the top| left it|
|00001f50| 65 6d 20 69 73 20 61 74 | 20 6c 65 66 74 20 31 30 |em is at| left 10|
|00001f60| 2c 20 74 6f 70 20 34 35 | 2e 0d 0d 4e 6f 74 65 20 |, top 45|...Note |
|00001f70| 74 68 61 74 20 69 6e 20 | 74 68 69 73 20 65 78 61 |that in |this exa|
|00001f80| 6d 70 6c 65 2c 20 69 74 | 20 77 61 73 20 6e 6f 74 |mple, it| was not|
|00001f90| 20 6e 65 63 65 73 73 61 | 72 79 20 74 6f 20 72 65 | necessa|ry to re|
|00001fa0| 6e 75 6d 62 65 72 20 74 | 68 65 20 72 65 6d 61 69 |number t|he remai|
|00001fb0| 6e 69 6e 67 20 64 69 61 | 6c 6f 67 20 69 74 65 6d |ning dia|log item|
|00001fc0| 73 20 61 66 74 65 72 20 | 64 65 6c 65 74 69 6e 67 |s after |deleting|
|00001fd0| 20 73 6f 6d 65 20 64 69 | 61 6c 6f 67 20 69 74 65 | some di|alog ite|
|00001fe0| 6d 73 20 2d 20 74 68 65 | 79 20 6a 75 73 74 20 68 |ms - the|y just h|
|00001ff0| 61 70 70 65 6e 65 64 20 | 74 6f 20 61 75 74 6f 6d |appened |to autom|
|00002000| 61 74 69 63 61 6c 6c 79 | 20 72 65 6e 75 6d 62 65 |atically| renumbe|
|00002010| 72 20 63 6f 72 72 65 63 | 74 6c 79 2e 20 42 65 20 |r correc|tly. Be |
|00002020| 61 77 61 72 65 20 74 68 | 61 74 20 79 6f 75 20 6d |aware th|at you m|
|00002030| 69 67 68 74 20 77 61 6e | 74 20 74 6f 20 72 65 6e |ight wan|t to ren|
|00002040| 75 6d 62 65 72 20 69 74 | 65 6d 73 2e 0d 0d 4e 65 |umber it|ems...Ne|
|00002050| 78 74 20 77 65 20 6d 75 | 73 74 20 63 72 65 61 74 |xt we mu|st creat|
|00002060| 65 20 74 68 65 20 72 6f | 6f 74 20 64 69 61 6c 6f |e the ro|ot dialo|
|00002070| 67 73 20 28 77 68 69 63 | 68 20 77 69 6c 6c 20 27 |gs (whic|h will '|
|00002080| 68 6f 6c 64 27 20 74 68 | 65 20 64 69 61 6c 6f 67 |hold' th|e dialog|
|00002090| 20 70 61 6e 65 73 29 2e | 20 54 68 65 72 65 20 69 | panes).| There i|
|000020a0| 73 20 6f 6e 65 20 72 6f | 6f 74 20 64 69 61 6c 6f |s one ro|ot dialo|
|000020b0| 67 20 66 6f 72 20 6e 6f | 6e 2d 61 70 70 65 61 72 |g for no|n-appear|
|000020c0| 61 6e 63 65 20 6d 61 6e | 61 67 65 72 20 73 79 73 |ance man|ager sys|
|000020d0| 74 65 6d 73 2c 20 61 6e | 64 20 6f 6e 65 20 66 6f |tems, an|d one fo|
|000020e0| 72 20 61 70 70 65 61 72 | 61 6e 63 65 20 6d 61 6e |r appear|ance man|
|000020f0| 61 67 65 72 20 73 79 73 | 74 65 6d 73 2e 20 54 68 |ager sys|tems. Th|
|00002100| 65 20 72 6f 6f 74 20 64 | 69 61 6c 6f 67 73 20 72 |e root d|ialogs r|
|00002110| 65 71 75 69 72 65 20 61 | 20 63 6f 72 72 65 73 70 |equire a| corresp|
|00002120| 6f 6e 64 69 6e 67 20 27 | 44 4c 4f 47 27 20 72 65 |onding '|DLOG' re|
|00002130| 73 6f 75 72 63 65 2c 20 | 73 6f 20 77 65 20 63 72 |source, |so we cr|
|00002140| 65 61 74 65 20 61 20 27 | 44 4c 4f 47 27 20 69 64 |eate a '|DLOG' id|
|00002150| 20 31 33 30 20 61 6e 64 | 20 69 64 20 31 33 31 2c | 130 and| id 131,|
|00002160| 20 6d 61 6b 69 6e 67 20 | 73 75 72 65 20 74 68 61 | making |sure tha|
|00002170| 74 20 74 68 65 20 27 44 | 49 54 4c 27 20 49 44 20 |t the 'D|ITL' ID |
|00002180| 66 69 65 6c 64 20 69 73 | 20 63 6f 72 72 65 63 74 |field is| correct|
|00002190| 6c 79 20 73 65 74 20 74 | 6f 20 31 33 30 20 61 6e |ly set t|o 130 an|
|000021a0| 64 20 31 33 31 20 72 65 | 73 70 65 63 74 69 76 65 |d 131 re|spective|
|000021b0| 6c 79 2e 20 54 68 65 20 | 6f 74 68 65 72 20 66 69 |ly. The |other fi|
|000021c0| 65 6c 64 73 20 6f 66 20 | 74 68 65 20 64 69 61 6c |elds of |the dial|
|000021d0| 6f 67 20 61 72 65 20 69 | 64 65 6e 74 69 63 61 6c |og are i|dentical|
|000021e0| 20 74 6f 20 27 44 4c 4f | 47 27 20 69 64 20 31 32 | to 'DLO|G' id 12|
|000021f0| 38 20 28 66 6f 72 20 27 | 44 4c 4f 47 27 20 69 64 |8 (for '|DLOG' id|
|00002200| 20 31 33 30 29 20 6f 72 | 20 61 20 27 44 4c 4f 47 | 130) or| a 'DLOG|
|00002210| 27 20 69 64 20 31 32 39 | 20 28 66 6f 72 20 27 44 |' id 129| (for 'D|
|00002220| 4c 4f 47 27 20 69 64 20 | 31 33 31 29 2e 0d 0d 57 |LOG' id |131)...W|
|00002230| 65 20 6e 6f 77 20 63 72 | 65 61 74 65 20 74 68 65 |e now cr|eate the|
|00002240| 20 27 44 49 54 4c 27 20 | 69 64 20 31 33 30 20 61 | 'DITL' |id 130 a|
|00002250| 6e 64 20 27 44 49 54 4c | 27 20 69 64 20 31 33 31 |nd 'DITL|' id 131|
|00002260| 20 64 69 61 6c 6f 67 73 | 20 61 73 20 6e 65 77 20 | dialogs| as new |
|00002270| 28 65 6d 70 74 79 29 20 | 64 69 61 6c 6f 67 73 2e |(empty) |dialogs.|
|00002280| 20 49 6e 20 74 68 65 20 | 27 44 49 54 4c 27 20 69 | In the |'DITL' i|
|00002290| 64 20 31 33 30 2c 20 77 | 65 20 70 75 74 20 61 20 |d 130, w|e put a |
|000022a0| 75 73 65 72 20 69 74 65 | 6d 20 61 74 20 6c 65 66 |user ite|m at lef|
|000022b0| 74 20 30 2c 20 74 6f 70 | 20 31 30 2c 20 61 6e 64 |t 0, top| 10, and|
|000022c0| 20 77 65 20 67 69 76 65 | 20 69 74 20 61 20 68 65 | we give| it a he|
|000022d0| 69 67 68 74 20 6f 66 20 | 32 30 20 61 6e 64 20 65 |ight of |20 and e|
|000022e0| 6e 73 75 72 65 20 74 68 | 61 74 20 69 74 20 69 73 |nsure th|at it is|
|000022f0| 20 65 6e 61 62 6c 65 64 | 2e 20 54 68 65 20 77 69 | enabled|. The wi|
|00002300| 64 74 68 20 6f 66 20 74 | 68 65 20 75 73 65 72 20 |dth of t|he user |
|00002310| 69 74 65 6d 2c 20 61 6e | 64 20 74 68 65 20 68 65 |item, an|d the he|
|00002320| 69 67 68 74 20 61 6e 64 | 20 77 69 64 74 68 20 6f |ight and| width o|
|00002330| 66 20 74 68 65 20 64 69 | 61 6c 6f 67 20 69 73 20 |f the di|alog is |
|00002340| 69 6e 69 74 69 61 6c 6c | 79 20 75 6e 6b 6e 6f 77 |initiall|y unknow|
|00002350| 6e 2e 20 57 65 20 63 61 | 6e 20 6d 61 6b 65 20 74 |n. We ca|n make t|
|00002360| 68 65 20 64 69 61 6c 6f | 67 20 71 75 69 74 65 20 |he dialo|g quite |
|00002370| 6c 61 72 67 65 20 61 6e | 64 20 72 65 64 75 63 65 |large an|d reduce|
|00002380| 20 69 74 27 73 20 73 69 | 7a 65 20 6c 61 74 65 72 | it's si|ze later|
|00002390| 2e 0d 0d 42 65 66 6f 72 | 65 20 65 64 69 74 69 6e |...Befor|e editin|
|000023a0| 67 20 74 68 65 20 27 44 | 49 54 4c 27 20 69 64 20 |g the 'D|ITL' id |
|000023b0| 31 33 31 2c 20 77 65 20 | 63 72 65 61 74 65 20 61 |131, we |create a|
|000023c0| 20 70 6f 70 2d 75 70 20 | 67 72 6f 75 70 20 62 6f | pop-up |group bo|
|000023d0| 78 20 63 6f 6e 74 72 6f | 6c 20 28 27 43 4e 54 4c |x contro|l ('CNTL|
|000023e0| 27 20 69 64 20 33 30 30 | 30 29 2e 20 54 68 65 20 |' id 300|0). The |
|000023f0| 66 69 65 6c 64 73 20 6f | 66 20 74 68 69 73 20 72 |fields o|f this r|
|00002400| 65 73 6f 75 72 63 65 20 | 61 72 65 20 61 73 20 66 |esource |are as f|
|00002410| 6f 6c 6c 6f 77 73 3a 0d | 0d 56 61 6c 75 65 3a 20 |ollows:.|.Value: |
|00002420| 31 32 38 20 20 20 20 28 | 74 68 65 20 69 64 20 6f |128 (|the id o|
|00002430| 66 20 74 68 65 20 27 74 | 61 62 23 27 20 72 65 73 |f the 't|ab#' res|
|00002440| 6f 75 72 63 65 29 0d 56 | 69 73 69 62 6c 65 3a 20 |ource).V|isible: |
|00002450| 54 72 75 65 0d 4d 61 78 | 3a 20 30 0d 4d 69 6e 3a |True.Max|: 0.Min:|
|00002460| 20 30 0d 50 72 6f 63 49 | 44 3a 20 31 32 38 20 20 | 0.ProcI|D: 128 |
|00002470| 20 28 74 68 65 20 70 72 | 6f 63 65 64 75 72 65 20 | (the pr|ocedure |
|00002480| 69 64 20 6f 66 20 61 20 | 70 6f 70 2d 75 70 20 67 |id of a |pop-up g|
|00002490| 72 6f 75 70 20 62 6f 78 | 20 63 6f 6e 74 72 6f 6c |roup box| control|
|000024a0| 29 0d 52 65 66 43 6f 6e | 3a 20 30 0d 54 69 74 6c |).RefCon|: 0.Titl|
|000024b0| 65 3a 20 20 20 20 20 20 | 20 20 28 6e 6f 20 74 69 |e: | (no ti|
|000024c0| 74 6c 65 29 0d 0d 54 68 | 65 20 42 6f 75 6e 64 73 |tle)..Th|e Bounds|
|000024d0| 52 65 63 74 20 66 69 65 | 6c 64 73 20 61 72 65 20 |Rect fie|lds are |
|000024e0| 69 6e 69 74 69 61 6c 6c | 79 20 75 6e 6b 6e 6f 77 |initiall|y unknow|
|000024f0| 6e 2c 20 61 73 20 77 65 | 20 64 6f 20 6e 6f 74 20 |n, as we| do not |
|00002500| 6b 6e 6f 77 20 77 68 61 | 74 20 73 69 7a 65 20 74 |know wha|t size t|
|00002510| 68 65 20 64 69 61 6c 6f | 67 20 73 68 6f 75 6c 64 |he dialo|g should|
|00002520| 20 62 65 2e 20 57 65 20 | 63 61 6e 20 73 65 74 20 | be. We |can set |
|00002530| 74 68 65 73 65 20 74 6f | 20 61 20 72 65 61 73 6f |these to| a reaso|
|00002540| 6e 61 62 6c 65 20 76 61 | 6c 75 65 20 28 73 61 79 |nable va|lue (say|
|00002550| 20 30 2c 20 30 2c 20 32 | 30 30 2c 20 33 30 30 29 | 0, 0, 2|00, 300)|
|00002560| 20 61 6e 64 20 61 64 6a | 75 73 74 20 74 68 65 6d | and adj|ust them|
|00002570| 20 6c 61 74 65 72 2e 0d | 0d 57 65 20 63 61 6e 20 | later..|.We can |
|00002580| 6e 6f 77 20 70 75 74 20 | 61 20 63 6f 6e 74 72 6f |now put |a contro|
|00002590| 6c 20 69 6e 20 44 49 54 | 4c 20 69 64 20 31 33 31 |l in DIT|L id 131|
|000025a0| 2e 20 54 68 69 73 20 63 | 6f 6e 74 72 6f 6c 20 68 |. This c|ontrol h|
|000025b0| 61 73 20 61 20 72 65 73 | 6f 75 72 63 65 20 69 64 |as a res|ource id|
|000025c0| 20 6f 66 20 31 30 30 30 | 2c 20 61 6e 64 20 69 74 | of 1000|, and it|
|000025d0| 20 69 73 20 70 6f 73 69 | 74 69 6f 6e 65 64 20 61 | is posi|tioned a|
|000025e0| 74 20 6c 65 66 74 20 2d | 31 2c 20 74 6f 70 20 31 |t left -|1, top 1|
|000025f0| 30 2e 20 54 68 65 20 63 | 6f 6e 74 72 6f 6c 20 73 |0. The c|ontrol s|
|00002600| 68 6f 75 6c 64 20 62 65 | 20 65 6e 61 62 6c 65 64 |hould be| enabled|
|00002610| 2e 0d 0d 54 68 65 20 74 | 61 62 62 65 64 20 77 69 |...The t|abbed wi|
|00002620| 6e 64 6f 77 20 69 73 20 | 6e 6f 77 20 63 6f 6d 70 |ndow is |now comp|
|00002630| 6c 65 74 65 2e 0d 0d 46 | 69 6e 61 6c 6c 79 2c 20 |lete...F|inally, |
|00002640| 61 20 27 41 43 45 69 27 | 20 72 65 73 6f 75 72 63 |a 'ACEi'| resourc|
|00002650| 65 20 6d 75 73 74 20 62 | 65 20 63 72 65 61 74 65 |e must b|e create|
|00002660| 64 20 66 6f 72 20 74 68 | 65 20 74 61 62 62 65 64 |d for th|e tabbed|
|00002670| 20 77 69 6e 64 6f 77 73 | 2e 20 54 68 69 73 20 69 | windows|. This i|
|00002680| 73 20 6e 65 63 65 73 73 | 61 72 79 20 74 6f 20 65 |s necess|ary to e|
|00002690| 6e 73 75 72 65 20 74 68 | 61 74 20 74 68 65 20 27 |nsure th|at the '|
|000026a0| 41 43 45 63 27 20 72 65 | 73 6f 75 72 63 65 73 20 |ACEc' re|sources |
|000026b0| 61 72 65 20 63 6f 72 72 | 65 63 74 6c 79 20 6d 61 |are corr|ectly ma|
|000026c0| 70 70 65 64 20 74 6f 20 | 74 68 65 69 72 20 63 6f |pped to |their co|
|000026d0| 72 72 65 73 70 6f 6e 64 | 69 6e 67 20 64 69 61 6c |rrespond|ing dial|
|000026e0| 6f 67 20 69 74 65 6d 73 | 2e 20 57 65 20 6e 65 65 |og items|. We nee|
|000026f0| 64 20 61 6e 20 27 41 43 | 45 69 27 20 72 65 73 6f |d an 'AC|Ei' reso|
|00002700| 75 72 63 65 20 66 6f 72 | 20 65 61 63 68 20 72 6f |urce for| each ro|
|00002710| 6f 74 20 64 69 61 6c 6f | 67 2c 20 77 69 74 68 20 |ot dialo|g, with |
|00002720| 61 20 63 6f 72 72 65 73 | 70 6f 6e 64 69 6e 67 20 |a corres|ponding |
|00002730| 69 64 20 28 69 2e 65 2e | 20 69 64 20 31 33 30 20 |id (i.e.| id 130 |
|00002740| 61 6e 64 20 31 33 31 29 | 2e 0d 0d 53 69 6e 63 65 |and 131)|...Since|
|00002750| 20 74 68 65 20 74 77 6f | 20 72 6f 6f 74 20 64 69 | the two| root di|
|00002760| 61 6c 6f 67 73 20 63 6f | 6e 73 69 73 74 20 6f 66 |alogs co|nsist of|
|00002770| 20 74 68 65 20 73 61 6d | 65 20 6e 75 6d 62 65 72 | the sam|e number|
|00002780| 20 6f 66 20 69 74 65 6d | 73 2c 20 61 6e 64 20 73 | of item|s, and s|
|00002790| 69 6e 63 65 20 77 65 20 | 75 73 65 20 74 68 65 20 |ince we |use the |
|000027a0| 73 61 6d 65 20 64 69 61 | 6c 6f 67 20 70 61 6e 65 |same dia|log pane|
|000027b0| 73 20 66 6f 72 20 62 6f | 74 68 20 74 68 65 20 72 |s for bo|th the r|
|000027c0| 6f 6f 74 20 64 69 61 6c | 6f 67 73 2c 20 74 68 65 |oot dial|ogs, the|
|000027d0| 20 66 69 65 6c 64 73 20 | 6f 66 20 74 68 65 20 27 | fields |of the '|
|000027e0| 41 43 45 69 27 20 72 65 | 73 6f 75 72 63 65 73 20 |ACEi' re|sources |
|000027f0| 77 69 6c 6c 20 62 65 20 | 69 64 65 6e 74 69 63 61 |will be |identica|
|00002800| 6c 2e 20 53 6f 20 77 65 | 20 63 61 6e 20 63 72 65 |l. So we| can cre|
|00002810| 61 74 65 20 61 6e 20 27 | 41 43 45 69 27 20 72 65 |ate an '|ACEi' re|
|00002820| 73 6f 75 72 63 65 20 69 | 64 20 31 33 30 2c 20 66 |source i|d 130, f|
|00002830| 69 6c 6c 20 6f 75 74 20 | 74 68 65 20 66 69 65 6c |ill out |the fiel|
|00002840| 64 73 2c 20 61 6e 64 20 | 74 68 65 6e 20 64 75 70 |ds, and |then dup|
|00002850| 6c 69 63 61 74 65 20 69 | 74 20 28 72 65 6d 65 6d |licate i|t (remem|
|00002860| 62 65 72 69 6e 67 20 74 | 6f 20 63 68 61 6e 67 65 |bering t|o change|
|00002870| 20 74 68 65 20 69 64 20 | 6f 66 20 74 68 65 20 64 | the id |of the d|
|00002880| 75 70 6c 69 63 61 74 65 | 20 74 6f 20 31 33 31 29 |uplicate| to 131)|
|00002890| 2e 0d 0d 54 68 65 72 65 | 20 6e 75 6d 62 65 72 20 |...There| number |
|000028a0| 6f 66 20 63 6f 6e 74 72 | 6f 6c 73 20 69 6e 20 74 |of contr|ols in t|
|000028b0| 68 65 20 27 41 43 45 69 | 27 20 72 65 73 6f 75 72 |he 'ACEi|' resour|
|000028c0| 63 65 20 69 73 20 34 20 | 28 74 68 65 20 73 61 6d |ce is 4 |(the sam|
|000028d0| 65 20 61 73 20 74 68 65 | 20 6e 75 6d 62 65 72 20 |e as the| number |
|000028e0| 6f 66 20 27 41 43 45 63 | 27 20 72 65 73 6f 75 72 |of 'ACEc|' resour|
|000028f0| 63 65 73 29 2e 20 54 68 | 65 20 66 69 65 6c 64 73 |ces). Th|e fields|
|00002900| 20 63 6f 6e 73 69 73 74 | 20 6f 66 20 74 68 65 20 | consist| of the |
|00002910| 27 74 6f 74 61 6c 27 20 | 64 69 61 6c 6f 67 20 69 |'total' |dialog i|
|00002920| 74 65 6d 20 69 64 20 74 | 68 61 74 20 63 6f 72 72 |tem id t|hat corr|
|00002930| 65 73 70 6f 6e 64 73 20 | 74 6f 20 74 68 61 74 20 |esponds |to that |
|00002940| 63 6f 6e 74 72 6f 6c 2e | 20 54 68 65 20 74 6f 74 |control.| The tot|
|00002950| 61 6c 20 64 69 61 6c 6f | 67 20 69 74 65 6d 73 20 |al dialo|g items |
|00002960| 69 64 27 73 20 61 72 65 | 20 63 61 6c 63 75 6c 61 |id's are| calcula|
|00002970| 74 65 64 20 61 73 20 66 | 6f 6c 6c 6f 77 73 3a 20 |ted as f|ollows: |
|00002980| 41 64 64 20 74 68 65 20 | 6e 75 6d 62 65 72 20 6f |Add the |number o|
|00002990| 66 20 69 74 65 6d 73 20 | 69 6e 20 74 68 65 20 72 |f items |in the r|
|000029a0| 6f 6f 74 20 64 69 61 6c | 6f 67 20 28 31 29 20 74 |oot dial|og (1) t|
|000029b0| 6f 20 65 61 63 68 20 63 | 6f 6e 74 72 6f 6c 20 69 |o each c|ontrol i|
|000029c0| 6e 20 74 68 65 20 66 69 | 72 73 74 20 70 61 6e 65 |n the fi|rst pane|
|000029d0| 20 2d 20 74 68 65 73 65 | 20 61 72 65 20 74 68 65 | - these| are the|
|000029e0| 20 27 74 6f 74 61 6c 27 | 20 64 69 61 6c 6f 67 20 | 'total'| dialog |
|000029f0| 69 74 65 6d 20 69 64 27 | 73 20 66 6f 72 20 74 68 |item id'|s for th|
|00002a00| 65 20 63 6f 6e 74 72 6f | 6c 73 20 69 6e 20 74 68 |e contro|ls in th|
|00002a10| 65 20 66 69 72 73 74 20 | 64 69 61 6c 6f 67 20 70 |e first |dialog p|
|00002a20| 61 6e 65 2e 20 49 6e 20 | 74 68 69 73 20 63 61 73 |ane. In |this cas|
|00002a30| 65 2c 20 31 20 2b 20 31 | 20 3d 20 32 20 61 6e 64 |e, 1 + 1| = 2 and|
|00002a40| 20 31 20 2b 20 32 20 3d | 20 33 2e 20 46 6f 72 20 | 1 + 2 =| 3. For |
|00002a50| 74 68 65 20 6e 65 78 74 | 20 64 69 61 6c 6f 67 20 |the next| dialog |
|00002a60| 70 61 6e 65 2c 20 61 64 | 64 20 61 73 20 62 65 66 |pane, ad|d as bef|
|00002a70| 6f 72 65 20 62 75 74 20 | 69 6e 63 6c 75 64 65 20 |ore but |include |
|00002a80| 74 68 65 20 6e 75 6d 62 | 65 72 20 6f 66 20 69 74 |the numb|er of it|
|00002a90| 65 6d 73 20 69 6e 20 74 | 68 65 20 66 69 72 73 74 |ems in t|he first|
|00002aa0| 20 64 69 61 6c 6f 67 20 | 70 61 6e 65 20 28 33 29 | dialog |pane (3)|
|00002ab0| 2e 20 53 6f 20 74 68 65 | 20 74 77 6f 20 72 61 64 |. So the| two rad|
|00002ac0| 69 6f 20 62 75 74 74 6f | 6e 73 20 68 61 76 65 20 |io butto|ns have |
|00002ad0| 61 20 27 74 6f 74 61 6c | 27 20 64 69 61 6c 6f 67 |a 'total|' dialog|
|00002ae0| 20 69 74 65 6d 20 69 64 | 20 6f 66 20 31 20 2b 20 | item id| of 1 + |
|00002af0| 33 20 2b 20 31 20 3d 20 | 35 20 61 6e 64 20 31 20 |3 + 1 = |5 and 1 |
|00002b00| 2b 20 33 20 2b 20 32 20 | 3d 20 36 2e 00 00 00 00 |+ 3 + 2 |= 6.....|
|00002b10| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002b20| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002b30| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002b40| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002b50| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002b60| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002b70| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002b80| 00 00 01 00 00 00 03 5e | 00 00 02 5e 00 00 00 32 |.......^|...^...2|
|00002b90| 65 72 74 20 54 68 65 73 | 65 20 52 65 73 6f 75 72 |ert Thes|e Resour|
|00002ba0| 63 65 73 0a 20 52 65 73 | 6f 75 72 63 65 73 15 52 |ces. Res|ources.R|
|00002bb0| 08 54 75 74 6f 72 69 61 | 6c 43 6f 6e 74 72 6f 6c |.Tutoria|lControl|
|00002bc0| 73 20 50 72 65 66 73 62 | 62 6c 65 73 29 73 6e 29 |s Prefsb|bles)sn)|
|00002bd0| 00 52 54 45 58 54 74 74 | 78 74 00 00 00 00 00 00 |.RTEXTtt|xt......|
|00002be0| 00 00 00 00 00 00 00 00 | 00 00 80 00 00 00 00 00 |........|........|
|00002bf0| 00 00 b1 4f bb b0 00 00 | 00 00 00 00 01 1e 72 65 |...O....|......re|
|00002c00| 61 74 65 20 4e 65 77 20 | 44 69 61 6c 6f 67 20 49 |ate New |Dialog I|
|00002c10| 74 65 6d 10 52 65 76 65 | 72 74 20 54 68 69 73 20 |tem.Reve|rt This |
|00002c20| 49 74 65 6d 13 49 6e 73 | 65 72 74 20 4e 65 77 20 |Item.Ins|ert New |
|00002c30| 46 69 65 6c 64 28 73 29 | 14 4f 70 65 6e 20 55 73 |Field(s)|.Open Us|
|00002c40| 69 6e 67 20 54 65 6d 70 | 6c 61 74 65 c9 11 4f 70 |ing Temp|late..Op|
|00002c50| 65 6e 20 50 69 63 6b 65 | 72 20 62 79 20 49 44 00 |en Picke|r by ID.|
|00002c60| 00 00 26 00 06 04 55 6e | 64 6f 03 43 75 74 04 43 |..&...Un|do.Cut.C|
|00002c70| 6f 70 79 05 50 61 73 74 | 65 05 43 6c 65 61 72 09 |opy.Past|e.Clear.|
|00002c80| 00 00 02 5a 00 1e 00 00 | 00 00 00 10 00 0c 00 03 |...Z....|........|
|00002c90| 01 00 00 0c 00 00 00 00 | 00 00 00 00 00 0c 00 10 |........|........|
|00002ca0| 00 0c 00 03 00 00 00 0c | 00 00 00 00 00 00 00 00 |........|........|
|00002cb0| 02 a1 00 10 00 0c 00 03 | 01 00 00 0c 00 00 00 00 |........|........|
|00002cc0| 00 00 00 00 02 b3 00 10 | 00 0c 00 03 00 00 00 0c |........|........|
|00002cd0| 00 00 00 00 00 00 00 00 | 05 34 00 10 00 0c 3f ff |........|.4....?.|
|00002ce0| 00 00 00 0c 00 00 00 00 | 00 00 00 00 05 49 00 10 |........|.....I..|
|00002cf0| 00 0c 00 03 00 00 00 0c | 00 00 00 00 00 00 00 00 |........|........|
|00002d00| 06 eb 00 0c 00 0a 00 03 | 00 00 00 09 00 00 00 00 |........|........|
|00002d10| 00 00 00 00 06 ec 00 10 | 00 0c 00 03 00 00 00 0c |........|........|
|00002d20| 00 00 00 00 00 00 00 00 | 07 13 00 0c 00 0a 00 03 |........|........|
|00002d30| 00 00 00 09 00 00 00 00 | 00 00 00 00 07 14 00 10 |........|........|
|00002d40| 00 0c 00 03 00 00 00 0c | 00 00 00 00 00 00 00 00 |........|........|
|00002d50| 07 3e 00 0c 00 0a 00 03 | 00 00 00 09 00 00 00 00 |.>......|........|
|00002d60| 00 00 00 00 07 3f 00 10 | 00 0c 00 03 00 00 00 0c |.....?..|........|
|00002d70| 00 00 00 00 00 00 00 00 | 09 aa 00 10 00 0c 00 04 |........|........|
|00002d80| 00 00 00 0c 00 00 00 00 | 00 00 00 00 09 ae 00 10 |........|........|
|00002d90| 00 0c 00 04 01 00 00 0c | 00 00 00 00 00 00 00 00 |........|........|
|00002da0| 09 ef 00 10 00 0c 00 04 | 00 00 00 0c 00 00 00 00 |........|........|
|00002db0| 00 00 00 00 0a d9 00 10 | 00 0c 00 03 00 00 00 0c |........|........|
|00002dc0| 00 00 00 00 00 00 00 00 | 0e 41 00 10 00 0c 3f ff |........|.A....?.|
|00002dd0| 00 00 00 0c 00 00 00 00 | 00 00 00 00 0e 52 00 10 |........|.....R..|
|00002de0| 00 0c 00 03 00 00 00 0c | 00 00 00 00 00 00 00 00 |........|........|
|00002df0| 0e 8c 00 10 00 0c 00 04 | 00 00 00 0c 00 00 00 00 |........|........|
|00002e00| 00 00 00 00 10 17 00 10 | 00 0c 00 03 00 00 00 0c |........|........|
|00002e10| 00 00 00 00 00 00 00 00 | 13 bb 00 10 00 0c 00 04 |........|........|
|00002e20| 00 00 00 0c 00 00 00 00 | 00 00 00 00 15 4d 00 10 |........|.....M..|
|00002e30| 00 0c 00 03 00 00 00 0c | 00 00 00 00 00 00 00 00 |........|........|
|00002e40| 15 d1 00 10 00 0c 00 03 | 01 00 00 0c 00 00 00 00 |........|........|
|00002e50| 00 00 00 00 15 d6 00 10 | 00 0c 00 03 00 00 00 0c |........|........|
|00002e60| 00 00 00 00 00 00 00 00 | 18 15 00 10 00 0c 00 04 |........|........|
|00002e70| 00 00 00 0c 00 00 00 00 | 00 00 00 00 19 e4 00 10 |........|........|
|00002e80| 00 0c 00 03 00 00 00 0c | 00 00 00 00 00 00 00 00 |........|........|
|00002e90| 1a 04 00 10 00 0c 00 03 | 01 00 00 0c 00 00 00 00 |........|........|
|00002ea0| 00 00 00 00 1a 1f 00 10 | 00 0c 00 03 00 00 00 0c |........|........|
|00002eb0| 00 00 00 00 00 00 00 00 | 23 99 00 10 00 0c 00 04 |........|#.......|
|00002ec0| 00 00 00 0c 00 00 00 00 | 00 00 00 00 24 45 00 10 |........|....$E..|
|00002ed0| 00 0c 00 03 00 00 00 0c | 00 00 00 00 00 00 00 00 |........|........|
|00002ee0| 01 00 00 00 03 5e 00 00 | 02 5e 00 00 00 32 02 9f |.....^..|.^...2..|
|00002ef0| 42 48 1d 04 00 00 00 1c | 00 32 00 00 73 74 79 6c |BH......|.2..styl|
|00002f00| 00 00 00 0a 00 80 ff ff | 00 00 00 00 02 9f ba 58 |........|.......X|
|00002f10| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002f20| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002f30| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002f40| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002f50| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002f60| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002f70| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
+--------+-------------------------+-------------------------+--------+--------+